package com.douwong.student.contant;

import static com.douwong.student.rxjava.EndPointInterface.BASEURL;

/**
 * @autor yichao
 * @time 2017/4/109:25
 * @des 网络接口配置
 */
public interface NetConfig {
     boolean iseclass=false;
     String CLASS_BASE_URL = iseclass? "http://paas.eclassedu.com/pass":"http://paas.edu.douwong.com/paas";
     String RESOURCE_BASE_URL=iseclass ? "http://res.eclassedu.com/res":"http://paas.edu.douwong.com/paas";
    /**php接口基url*/
    String BASE_PHP_URL="http://edu.douwong.com";
    /**班级公告*/
      String NOTICE_LIST = BASEURL + "api/v2/memberCenter/memSystem/memAnnounced/list.do";
    /**app应用接口*/
     String APP_LIST_URL=CLASS_BASE_URL+"/api/v2/base/baseAppCenter/list.do";
    /**科目列表*/
    String SUBJECT_LIST=CLASS_BASE_URL+"/api/v2/memberCenter/memGradeSubject/list.do";
   /** 备课列表*/
     String PREPARE_LIST = RESOURCE_BASE_URL + "/api/v1/res/prepareLessons/list.do";
   /** 备课导读分页列表 传prepareId*/
    String PREPARE_INDRO_LIST = RESOURCE_BASE_URL + "/api/v1/res/prepareLessons/introduction/list.do";
    /**备课资源列表 传prepareId*/
    String PREPARE_RESOURCE_LIST = RESOURCE_BASE_URL+ "/api/v1/res/prepareLessons/attachMent/list.do";
    /**备课任务分页列表*/
    String PREPARE_TASK_LIST = RESOURCE_BASE_URL + "/api/v1/res/prepareLessons/task/list.do";
    /**备课测验列表 传 prepareId*/
    String PREPARE_TEST_LIST = RESOURCE_BASE_URL + "/api/v1/res/prepareLessons/examine/list.do";
    /**导读详情*/
    String DAODU_DETAIL = RESOURCE_BASE_URL + "/api/v1/res/prepareLessons/detail.do";
    /**测试详情*/
    String TEST_DEATIL = RESOURCE_BASE_URL + "/api/v1/res/prepareLessons/examine/detail.do";
    /**微课列表*/
     String MICRO_LIST=RESOURCE_BASE_URL+"/api/v1/res/micro/list.do";
    /**获取最新版本信息*/
     String VERSION_INFOR = CLASS_BASE_URL + "/api/v2/base/baseVersionUpdate/getLatest.do";
    /**课堂文件*/
    String CLASS_FILE=CLASS_BASE_URL+"/api/v2/lesson/baseLessonManage/lessonFilesList.do";
    /**上传设备日志信息*/
    // String UPLOAD_DEVICE_LOG = CLASS_BASE_URL + "/api/v2/base/baseDeviceLogFile/upload.do";
    /**上传设备日志信息*/
     String UPLOAD_DEVICE_LOG = BASE_PHP_URL+"/api/logupload";
    /**上传头像*/
    //   String UPLOAD_HEAD_PIC=BASE_PHP_URLCLASS_BASE_URL+"/api/v2/memberCenter/memUser/headPortraitUpload.do";
            /**http://edu.douwong.com/api/ftpupload*/
       String UPLOAD_HEAD_PIC=BASE_PHP_URL+"/api/ftpupload";
   //   String UPLOAD_HEAD_PIC="http://172.16.100.163:9999/paas"+"/api/v2/memberCenter/memUser/headPortraitUpload.do";

    /**课堂考试列表*/
        String CLASS_EXAM_LIST = CLASS_BASE_URL + "/api/v2/lesson/examineManage/lessonExamineResultList.do";
    /**课堂考试详情*/
    String CLASS_EXAM_DETAIL = CLASS_BASE_URL + "/api/v2/lesson/examineManage/examineDetail.do";
    /**问答互动记录列表*/
    String QUESTIION_ANSWER_RECORD_LIST=BASE_PHP_URL+"/api/qainteractionlist?page=";
    /**问答互动详情*/
    String QUESTIN_ANSWER_RECORD_INFO=BASE_PHP_URL+"/api/qainteractioninfo";
    /**手写互动列表*/
    String HAND_WRITER_EXCHANGE_LIST=BASE_PHP_URL+"/api/writeinteractionlist?page=";
    /**手写互动详细信息*/
    String HAND_WRITER_EXCHANGE_INFO=BASE_PHP_URL+"/api/writeinteractioninfo";
    /**课堂考试记录列表*/
    String CLASS_EXAM_RECORD_LIST=BASE_PHP_URL+"/api/classexaminelist?page=";
    /**课堂考试记录详情*/
    String CLASS_EXAM_RECORD_RESULT=BASE_PHP_URL+"/api/examineresultinfo";
    /**课堂文件列表和详情*/
    String CLASS_RECORD_FILEINFO=BASE_PHP_URL+"/api/filelist?page=";

}
